home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 8 / Mac Magazin and MacEasy Magazine CD - Issue 08.iso / Sharewarebibliothek / Updater⁄Infos / Frontier 2.0 => 2.0.1 Upgrader / Install Files / DocServer Docs / table.moveAndRename < prev    next >
Text File  |  1993-02-25  |  1KB  |  16 lines

  1.  
  2. Verb    table.moveAndRename
  3. Syntax    table.moveAndRename (addr1, addr2)
  4. Parameters    addr1 is the Object Database address indicating the location of the object to be moved and renamed.
  5. addr2 is the Object Database address indicating the table and name where the object at addr1 is to be moved.
  6. Action    Moves the object at addr1 to the location addr2.
  7. Returns    True
  8. Examples    The examples table contains a table called table1 with four entries: a string, a number, a script, and an outline. It also has an empty table called table2. The following line moves the outline from table1 into table2, renaming it to “outline1”:
  9.     table.moveAndRename (@examples.table1.entry4, @examples.table2.outline1)
  10.         » true
  11. Select table2 in the table window and you’ll see that it now has one item. Open it and you’ll see that its one item is called outline1 and that it has the same contents as did examples.table1.entry4. Open table1 and you’ll notice that there is no “entry4.”
  12. Notes    • addr2 must indicate an item inside of an existing table.
  13. • If addr2 contains an object, it will be replaced the the newly-moved object.
  14. See Also    table.move
  15. table.rename
  16.